package com.petalsgroup.petals.dao.user;

import com.petalsgroup.petals.pojo.AnimationSimpleDO;
import com.petalsgroup.petals.pojo.UserDO;

import java.util.List;

public interface MySelfDao {

    Boolean updateUser(UserDO user);

    List<AnimationSimpleDO> findAidByUid(Integer uid);

    UserDO findUidByUsername(String username);

    Boolean findAttention(Integer uid, Integer uided);

    void saveAttention(Integer uid, Integer uided);

    Integer findAttentionNum(Integer uid);
}
